﻿using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class t_smd_BMCInfo : DataObject
    {
        /// <summary>
        /// BMCId
        /// </summary>
        [ID]
        [Column]
        [IDENTITY]
        public int? BMCId { get { return fBMCID; } set { fBMCID = value; EntityState.FieldChange("BMCId"); } }
        private int? fBMCID;
        public static FieldInfo _BMCId = new FieldInfo("t_smd_BMCInfo", "BMCId");

        /// <summary>
        /// BMCCode
        /// </summary>
        [Column]
        [IDENTITY]
        public string BMCCode { get { return fBMCCODE; } set { fBMCCODE = value; EntityState.FieldChange("BMCCode"); } }
        private string fBMCCODE;
        public static FieldInfo _BMCCode = new FieldInfo("t_smd_BMCInfo", "BMCCode");

        /// <summary>
        /// BMCName
        /// </summary>
        [Column]
        [IDENTITY]
        public string BMCName { get { return fBMCNAME; } set { fBMCNAME = value; EntityState.FieldChange("BMCName"); } }
        private string fBMCNAME;
        public static FieldInfo _BMCName = new FieldInfo("t_smd_BMCInfo", "BMCName");
    }
    
}